package tnb.android;

import tnb.android.R.string;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;

public class ProgressActivity extends Activity 
{
	String player;
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        
        requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
        
        setContentView(R.layout.progress_activity);
        
        //Set title
        getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.title_bar);
        TextView title = (TextView) (findViewById(R.id.title_bar_title));
        title.setText(getString(string.progress_activity_s_title));


    }
    
    public void onClick(View view) {
    	switch(view.getId()) {
    	case R.id.dont_button:
    		Toast.makeText(this, "Booya!", Toast.LENGTH_SHORT).show();
    		ProgressBar pb = (ProgressBar) findViewById(R.id.progress_bar);
    		pb.incrementProgressBy(1);
    	}
    }
}